package com.hitown.model.dxhd;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 人员背审信息表
 * </p>
 *
 * @author menu
 * @since 2021-07-19
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("DXHD_RYBS")
@ApiModel(value="DxhdRybs对象", description="人员背审信息表")
public class DxhdRybs implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "姓名")
    @TableField("XM")
    private String xm;

    @ApiModelProperty(value = "曾用名")
    @TableField("CYM")
    private String cym;

    @ApiModelProperty(value = "常用证件代码")
    @TableField("CYZJDM")
    private String cyzjdm;

    //@TableId(value = "ZJHM",type = IdType.INPUT)
    @ApiModelProperty(value = "证件号码")
    @TableField("ZJHM")
    private String zjhm;

    @ApiModelProperty(value = "照片")
    @TableField("ZP")
    private byte[] zp;

    @ApiModelProperty(value = "照片存储地址")
    @TableField("ZP_DZ")
    private String zpDz;

    @ApiModelProperty(value = "性别代码")
    @TableField("XBDM")
    private String xbdm;

    @ApiModelProperty(value = "民族代码")
    @TableField("MZDM")
    private String mzdm;

    @ApiModelProperty(value = "国籍代码")
    @TableField("GJDM")
    private String gjdm;

    @ApiModelProperty(value = "籍贯国家/地区代码")
    @TableField("JGGJDQDM")
    private String jggjdqdm;

    @ApiModelProperty(value = "职业")
    @TableField("ZY")
    private String zy;

    @ApiModelProperty(value = "服务处所")
    @TableField("FWCS")
    private String fwcs;

    @ApiModelProperty(value = "地址名称")
    @TableField("DZMC")
    private String dzmc;

    @ApiModelProperty(value = "移动电话")
    @TableField("YDDH")
    private String yddh;

    @ApiModelProperty(value = "是否前科人员(0:是 1:否)")
    @TableField("SFQKRY")
    private String sfqkry;

    @ApiModelProperty(value = "是否在逃人员(0:是 1:否)")
    @TableField("SFZTRY")
    private String sfztry;

    @ApiModelProperty(value = "是否极端分子(0:是 1:否)")
    @TableField("SFJDRY")
    private String sfjdry;

    @ApiModelProperty(value = "是否非访人员(0:是 1:否)")
    @TableField("SFFFRY")
    private String sfffry;

    @ApiModelProperty(value = "是否涉恐人员(0:是 1:否)")
    @TableField("SFSKRY")
    private String sfskry;

    @ApiModelProperty(value = "是否吸毒人员(0:是 1:否)")
    @TableField("SFXDRY")
    private String sfxdry;

    @ApiModelProperty(value = "是否精神病人(0:是 1:否)")
    @TableField("SFJSBR")
    private String sfjsbr;

    @ApiModelProperty(value = "重点人员编号")
    @TableField("ZDRYBH")
    private String zdrybh;

    @TableId(value = "AJBH",type = IdType.INPUT)
    @ApiModelProperty(value = "案件编号")
    @TableField("AJBH")
    private String ajbh;

    @ApiModelProperty(value = "审查时间")
    @TableField("SCSJ")
    private String scsj;

    @TableField("CTU")
    private String ctu;

    @TableField("CTM")
    private Date ctm;

    @TableField("UTU")
    private String utu;

    @TableField("UTM")
    private Date utm;

   // @TableId(value = "XXBZ",type = IdType.INPUT)
    @TableField("XXBZ")
    private String xxbz;

}
